package com.quanyan.club.mapper;

import com.quanyan.club.entity.db.TbMedalRule;
import com.quanyan.club.entity.db.TbMedalRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbMedalRuleMapper {
    int countByExample(TbMedalRuleExample example);

    int deleteByExample(TbMedalRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbMedalRule record);

    int insertSelective(TbMedalRule record);

    List<TbMedalRule> selectByExample(TbMedalRuleExample example);

    TbMedalRule selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbMedalRule record, @Param("example") TbMedalRuleExample example);

    int updateByExample(@Param("record") TbMedalRule record, @Param("example") TbMedalRuleExample example);

    int updateByPrimaryKeySelective(TbMedalRule record);

    int updateByPrimaryKey(TbMedalRule record);
}